Skip to content

Commit

Permalink
Merge pull request #1020 from julep-ai/d/coobooks
Browse files Browse the repository at this point in the history
D/cookbooks: Added new cookbooks
  • Loading branch information
Vedantsahai18 authored Jan 6, 2025
2 parents e68ccf0 + 0819e0e commit 74817a3
Show file tree
Hide file tree
Showing 11 changed files with 7,856 additions and 3,592 deletions.
608 changes: 0 additions & 608 deletions agents-api/notebooks/01-revise-entities.ipynb

This file was deleted.

803 changes: 0 additions & 803 deletions agents-api/notebooks/02-trim-messages.ipynb

This file was deleted.

1,451 changes: 0 additions & 1,451 deletions agents-api/notebooks/03-summarise.ipynb

This file was deleted.

720 changes: 0 additions & 720 deletions agents-api/notebooks/RecSum-experiments.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion agents-api/notebooks/test-chat.json

This file was deleted.

6 changes: 3 additions & 3 deletions agents-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"jsonschema~=4.22.0",
"langchain-core~=0.3.14",
"larch-pickle~=1.4.3",
"litellm",
"litellm~1.57.0",
"lz4~=4.3.3",
"msgpack~=1.1.0",
"numpy>=2.0.0,<2.1.0",
Expand Down Expand Up @@ -77,6 +77,6 @@ py-modules = [
"agents_api",
]

[tool.uv.sources]
litellm = { url = "https://github.com/julep-ai/litellm/archive/fix_anthropic_tool_image_content.zip" }
#[tool.uv.sources]
#litellm = { url = "https://github.com/julep-ai/litellm/archive/fix_anthropic_tool_image_content.zip" }

2 changes: 1 addition & 1 deletion agents-api/tests/test_docs_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ async def _(
result = await search_docs_by_embedding(
developer_id=developer.id,
owners=[("agent", agent.id)],
query_embedding=query_embedding,
embedding=query_embedding,
k=3, # Add k parameter
metadata_filter={"test": "test"}, # Add metadata filter
connection_pool=pool,
Expand Down
Loading

0 comments on commit 74817a3

Please sign in to comment.