MetaGPT
MetaGPT copied to clipboard
how to support kimi?
https://platform.moonshot.cn/docs/api-reference#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B
llm:
api_type: "" # or azure / ollama / open_llm etc. Check LLMType for more options
model: "moonshot-v1-8k" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
base_url: "https://api.moonshot.cn/v1" # or forward url / other llm url
api_key: "sk-xxxx"
https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
llm:
api_type: 'moonshot'
base_url: 'https://api.moonshot.cn/v1'
api_key: 'YOUR_API_KEY'
model: 'moonshot-v1-8k'
Maybe the document sidebar needs to be optimized here, change Configuration to a more specific name, or add a subtitle
Great work! I have a question: if I deploy the url and key myself, how should I integrate it into metagpt? In other words, how should I customize the llm interface?
Supported LLMs, you can refer to documentation and code. To support new llm you can look at the corresponding abstract functions in base_llm that need to be implemented.