(note) assumes that you have setup a route in the gateway called 'eng_dept03'from langchain.chains import LLMChainfrom langchain.llms import JavelinAIGatewayfrom langchain.prompts import PromptTemplateroute_completions = "eng_dept03"gateway = JavelinAIGateway(    gateway_uri="http://localhost:8000", # replace with service URL or host/port of Javelin    route=route_completions,    model_name="text-davinci-003",)prompt = PromptTemplate("Translate the following English text to French: {text}")llmchain = LLMChain(llm=gateway, prompt=prompt)result = llmchain.run("podcast player")print(result)    ---------------------------------------------------------------------------    ImportError                               Traceback (most recent call last)    Cell In[6], line 2          1 from langchain.chains import LLMChain    ----> 2 from langchain.llms import JavelinAIGateway          3 from langchain.prompts import PromptTemplate          5 route_completions = "eng_dept03"    ImportError: cannot import name 'JavelinAIGateway' from 'langchain.llms' (/usr/local/Caskroom/miniconda/base/lib/python3.11/site-packages/langchain/llms/__init__.py)Step 4: Embeddings ExampleThis section demonstrates how to use the Javelin AI Gateway to obtain embeddings for text queries and documents. Here is a Python script that illustrates this:
This Jupyter Notebook will explore how to interact with the Javelin AI Gateway using the Python SDK.
This Jupyter Notebook will explore how to interact with the Javelin AI Gateway using the Python SDK. ->: (note) assumes that you have setup a route in the gateway called 'eng_dept03'from langchain.chains import LLMChainfrom langchain.llms import JavelinAIGatewayfrom langchain.prompts import PromptTemplateroute_completions = "eng_dept03"gateway = JavelinAIGateway(    gateway_uri="http://localhost:8000", # replace with service URL or host/port of Javelin    route=route_completions,    model_name="text-davinci-003",)prompt = PromptTemplate("Translate the following English text to French: {text}")llmchain = LLMChain(llm=gateway, prompt=prompt)result = llmchain.run("podcast player")print(result)    ---------------------------------------------------------------------------    ImportError                               Traceback (most recent call last)    Cell In[6], line 2          1 from langchain.chains import LLMChain    ----> 2 from langchain.llms import JavelinAIGateway          3 from langchain.prompts import PromptTemplate          5 route_completions = "eng_dept03"    ImportError: cannot import name 'JavelinAIGateway' from 'langchain.llms' (/usr/local/Caskroom/miniconda/base/lib/python3.11/site-packages/langchain/llms/__init__.py)Step 4: Embeddings ExampleThis section demonstrates how to use the Javelin AI Gateway to obtain embeddings for text queries and documents. Here is a Python script that illustrates this: