Skip to content

Commit

Permalink
Tidy-up, close cypher-qa tag
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-cowley committed Nov 9, 2023
1 parent 1e8c515 commit 21bfe3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion solutions/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import streamlit as st
from langchain.chat_models import ChatOpenAI

llm = ChatOpenAI(openai_api_key=st.secrets["OPENAI_API_KEY"], model='gpt-4')
llm = ChatOpenAI(
openai_api_key=st.secrets["OPENAI_API_KEY"],
model=st.secrets["OPENAI_MODEL"],
)
# end::llm[]

# tag::embedding[]
Expand Down
2 changes: 1 addition & 1 deletion solutions/tools/fewshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
verbose=True,
cypher_prompt=cypher_prompt
)
# tag::cypher-qa[]
# end::cypher-qa[]

0 comments on commit 21bfe3a

Please sign in to comment.