mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Support custom endpoint for OpenAI

Open katopz opened this issue 1 year ago • 0 comments

🚀 The feature

OpenAI not consume endpoint https://github.com/embedchain/embedchain/blob/3cff5e9/embedchain/llm/openai.py#L28-L33

        kwargs = {
            "model": config.model or "gpt-3.5-turbo",
            "temperature": config.temperature,
            "max_tokens": config.max_tokens,
            "model_kwargs": {},
        }

So that i can't customize it to other endpoint.

Motivation, pitch

Support custom endpoint config.

katopz avatar Jan 10 '24 07:01 katopz