Skip to content

Commit

Permalink
fix: typo and unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury committed Sep 25, 2024
1 parent 900f548 commit f421121
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
from langchain_openai import ChatOpenAI
from langchain.chains import LLMChain
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_core.output_parsers import PydanticToolsParser
from langchain.globals import set_debug, set_verbose
import streamlit as st
import requests
import time
import json
import os

from urllib3 import request

model_service = os.getenv("MODEL_ENDPOINT",
"http://localhost:8001")
model_service = f"{model_service}/v1"
Expand Down Expand Up @@ -97,7 +93,7 @@ def retrieve(self):

st.markdown("""
This demo application will ask the LLM for the weather in the city given in the input field and
specify a tool that can get weather information give a latitude and longitude. The weather information
specify a tool that can get weather information given a latitude and longitude. The weather information
retrieval is implemented using open-meteo.com.
""")
container = st.empty()
Expand Down

0 comments on commit f421121

Please sign in to comment.