Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsChat modelsAnthropicAnthropic FunctionsAnyscaleAzureAzureML Chat Online EndpointBaichuan ChatBaidu QianfanBedrock ChatCohereERNIE-Bot ChatEverlyAIFireworksGCP Vertex AIJinaChatKonkoüöÖ LiteLLMLlama APIMiniMaxOllamaOpenAIPromptLayer ChatOpenAITongyi QwenvLLM ChatYandexGPTDocument loadersDocument transformersText embedding modelsVector storesRetrieversToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsChat modelsKonkoOn this pageKonkoKonko API is a fully managed Web API designed to help application developers:Konko API is a fully managed API designed to help application developers:Select the right LLM(s) for their applicationPrototype with various open-source and proprietary LLMsMove to production in-line with their security, privacy, throughput, latency SLAs without infrastructure set-up or administration using Konko AI's SOC 2 compliant infrastructureThis example goes over how to use LangChain to interact with Konko modelsTo run this notebook, you'll need Konko API key. You can request it by messaging support@konko.ai.from langchain.chat_models import ChatKonkofrom langchain.prompts.chat import (    ChatPromptTemplate,    SystemMessagePromptTemplate,    AIMessagePromptTemplate,    HumanMessagePromptTemplate,)from langchain.schema import AIMessage, HumanMessage, SystemMessage2. Set API Keys‚ÄãOption 1: Set Environment Variables‚ÄãYou can set environment variables for KONKO_API_KEY (Required)OPENAI_API_KEY (Optional)In your current shell session, use the export command:export KONKO_API_KEY={your_KONKO_API_KEY_here}export OPENAI_API_KEY={your_OPENAI_API_KEY_here} #OptionalAlternatively, you can add the above lines directly to your shell startup script (such as .bashrc or .bash_profile for Bash shell and .zshrc for Zsh shell) to have them set automatically every time a
Konko API is a fully managed Web API designed to help application developers:
Konko API is a fully managed Web API designed to help application developers: ->: Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsChat modelsAnthropicAnthropic FunctionsAnyscaleAzureAzureML Chat Online EndpointBaichuan ChatBaidu QianfanBedrock ChatCohereERNIE-Bot ChatEverlyAIFireworksGCP Vertex AIJinaChatKonkoüöÖ LiteLLMLlama APIMiniMaxOllamaOpenAIPromptLayer ChatOpenAITongyi QwenvLLM ChatYandexGPTDocument loadersDocument transformersText embedding modelsVector storesRetrieversToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsChat modelsKonkoOn this pageKonkoKonko API is a fully managed Web API designed to help application developers:Konko API is a fully managed API designed to help application developers:Select the right LLM(s) for their applicationPrototype with various open-source and proprietary LLMsMove to production in-line with their security, privacy, throughput, latency SLAs without infrastructure set-up or administration using Konko AI's SOC 2 compliant infrastructureThis example goes over how to use LangChain to interact with Konko modelsTo run this notebook, you'll need Konko API key. You can request it by messaging support@konko.ai.from langchain.chat_models import ChatKonkofrom langchain.prompts.chat import (    ChatPromptTemplate,    SystemMessagePromptTemplate,    AIMessagePromptTemplate,    HumanMessagePromptTemplate,)from langchain.schema import AIMessage, HumanMessage, SystemMessage2. Set API Keys‚ÄãOption 1: Set Environment Variables‚ÄãYou can set environment variables for KONKO_API_KEY (Required)OPENAI_API_KEY (Optional)In your current shell session, use the export command:export KONKO_API_KEY={your_KONKO_API_KEY_here}export OPENAI_API_KEY={your_OPENAI_API_KEY_here} #OptionalAlternatively, you can add the above lines directly to your shell startup script (such as .bashrc or .bash_profile for Bash shell and .zshrc for Zsh shell) to have them set automatically every time a