Skip to content

Commit

Permalink
hotfix: context too long coz no sessions
Browse files Browse the repository at this point in the history
pass to 16k tokens to avoid 4k limit
  • Loading branch information
billmetangmo committed Dec 14, 2023
1 parent a783ff9 commit ccb0697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etl/experiments/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
vectors = FAISS.from_documents(data, embeddings)
vectors.save_local(embedding_pth)

llm = ChatOpenAI(max_tokens=500, temperature=0, model_name="gpt-3.5-turbo")
llm = ChatOpenAI(max_tokens=500, temperature=0, model_name="gpt-3.5-turbo-16k")
chain_type_kwargs = {"prompt": CHAT_PROMPT}


Expand Down

0 comments on commit ccb0697

Please sign in to comment.