Scrapegraph-ai icon indicating copy to clipboard operation
Scrapegraph-ai copied to clipboard

Support customizable openai endpoint

Open NeverOccurs opened this issue 1 year ago • 1 comments

Tried litellm for hours but didn't work. Not so familiar with langchain. It would be better if some more examples (together_ai, openrouters) are provided. Customizable openai endpoint would be a big plus. image

NeverOccurs avatar May 09 '24 16:05 NeverOccurs

please send us the script you are using

VinciGit00 avatar May 12 '24 16:05 VinciGit00

try this graph_config = { "llm": { "model": "gpt-3.5-turbo", "api_key": "YOUR_API_KEY", "temperature": 0, "openai_api_base": "https://your_custom_url.com", }, }

VinciGit00 avatar May 15 '24 07:05 VinciGit00