Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ll/vectara #783

Merged
merged 9 commits into from
Sep 18, 2024
Merged

Ll/vectara #783

merged 9 commits into from
Sep 18, 2024

Conversation

LukeLalor
Copy link
Collaborator

Add vectara support in Eidolon.

  1. Adds vectara logic unit for simple agentic rag
  2. Adds vectara agent utilizing built in chat interface.

Will add docs in follow-up pr if we like the contract

corpus_key: str
description: str = "Search documents related to {{ corpus_key }}"
vectara_url: str = "https://api.vectara.io/"
body_overrides: dict = Field({}, description="Arguments to use when creating / continuing a chat. See https://docs.vectara.com/docs/rest-api/create-chat for more information.")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agent Configuration lives here. Override allow the creation / turn interface to be arbitrarily customized since we don't know how people will want to use This. contract is the same for both endpoints,


corpus_key: str = Field(description="The corpus key to search in.")
description: str = Field("Search documents related to {corpus_key}.", description="Description of the tool presented to LLM. Will be formatted with corpus_key.")
vectara_url: str = "https://api.vectara.io/"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vectara tool for agentic rag. Allows agents to 1. query arbitrary search terms and 2. read full documents as desired (doc id is retrieved from searches)

@LukeLalor LukeLalor merged commit e2fccf4 into main Sep 18, 2024
15 checks passed
@LukeLalor LukeLalor deleted the ll/vectara branch September 18, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant