Closed branhoff closed 2 months ago
llm_interaction.py
get_llm
get_embeddings
util.py
form_routes.py
chat_gpt_response
llm_response
llm_interaction
tests/test_llm_interaction.py
.gitignore
llm_interaction.py
to abstract the interaction with language models (LLMs) and embeddingsget_llm
andget_embeddings
to retrieve LLMs and embeddings based on environment variablesutil.py
to use the abstracted LLM interaction module instead of directly calling OpenAI's APIsform_routes.py
to rename the response variable fromchat_gpt_response
tollm_response
llm_interaction
module intests/test_llm_interaction.py
get_llm
andget_embeddings
functions under different scenarios.gitignore
to exclude general temp files and Mac-specific files