Closed singhtanmay6735 closed 3 weeks ago
Kor is for langchain chat models and llms.
Use one of these https://python.langchain.com/v0.2/docs/integrations/chat/
or create a custom one: https://python.langchain.com/v0.2/docs/how_to/custom_chat_model/
Hi,
I'm looking to integrate the Openrouter API, which provides a unified interface for various LLMs, allowing us to choose any LLM for extraction. Based on their documentation, it appears that we can use Openrouter with OpenAI's client API as follows:
I've attempted this integration several times but keep encountering issues. Could someone please provide guidance or assistance?
References:
Openrouter Documentation - https://openrouter.ai/docs#models Openrouter Models - https://openrouter.ai/models/ Thanks in advance!