Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Disable off_prompt in local vector store client examples
Browse files Browse the repository at this point in the history
Output artifacts from these tools will no longer go into TaskMemory. This is needed as there is no logic to retrieve the artifacts from TaskMemory in these examples.
  • Loading branch information
cjkindel committed Jan 11, 2024
1 parent e1fe2f5 commit edc186a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/examples/talk-to-a-pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ vector_store_tool = VectorStoreClient(
description="Contains information about the Attention Is All You Need paper. "
"Use it to answer any related questions.",
query_engine=engine,
namespace=namespace
namespace=namespace,
off_prompt=False
)

agent = Agent(
Expand Down
3 changes: 2 additions & 1 deletion docs/examples/talk-to-a-webpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ vector_store_tool = VectorStoreClient(
description="Contains information about physics. "
"Use it to answer any physics-related questions.",
query_engine=engine,
namespace=namespace
namespace=namespace,
off_prompt=False
)

agent = Agent(
Expand Down

0 comments on commit edc186a

Please sign in to comment.