好好学习的郝

Results 116 comments of 好好学习的郝

Network problem. You can refer to https://deepwisdom.feishu.cn/wiki/MsGnwQBjiif9c3koSJNcYaoSnu4#part-XdatdVlhEojeAfxaaEZcMV3ZniQ

You can refer to https://docs.deepwisdom.ai/main/en/guide/get_started/configuration/llm_api_configuration.html#ollama-api

I see. Maybe the document could help you. https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org

参考文档中的【ollama-api】部分 https://docs.deepwisdom.ai/main/en/guide/get_started/configuration/llm_api_configuration.html#ollama-api

Try this: ```bash mkdir $HOME/.metagpt/ mv config/config2.yaml $HOME/.metagpt/ ```

This is a stream output example. The only accessable url is `/v1/chat/completions`. ```bash curl -X POST http://10.81.212.82:7860/v1/chat/completions -H 'Content-type: application/json' -d '{"model": "write_tutorial","stream": true,"messages": [{"role": "user","content": "Write a tutorial about...

可以参考这个文档 https://docs.deepwisdom.ai/main/en/guide/get_started/configuration/llm_api_configuration.html

> 如何自定义一个provider呢?有没有实例代码? https://github.com/geekan/MetaGPT/blob/main/metagpt/provider/ollama_api.py

Ollama is not as effective as OpenAI. Try to set `repair_llm_output: true` in config2.yaml to get a better output.

@Kaushal-26 Could you please review it? Thanks.