graphiti
graphiti copied to clipboard
small model fix
[!IMPORTANT] Enhance LLM client configurations by introducing model size handling and updating related functions to support these changes.
- LLM Client Enhancements:
- Introduced
ModelSizeenum inconfig.pyto specify model sizes (small,medium).- Updated
generate_responseand_generate_responsemethods inanthropic_client.py,client.py,gemini_client.py,groq_client.py,openai_client.py,openai_generic_client.pyto acceptmodel_sizeparameter.- Added
small_modelattribute toLLMConfiginconfig.pyfor handling simpler prompts.- Functionality Updates:
- Modified
dedupe_extracted_edge()inedge_operations.pyandresolve_extracted_node()innode_operations.pyto useModelSize.small.- Updated
get_edge_contradictions()intemporal_operations.pyto useModelSize.small.- Miscellaneous:
- Fixed typo in
podcast_transcript.txt.- Incremented version in
pyproject.tomlto0.11.4.This description was created by
for b5e7dd9df1db5cf0e26e2695affe97f2589593ce. You can customize this summary. It will automatically update as commits are pushed.