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

Feat: Extend available LLMs #44

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Feat: Extend available LLMs #44

wants to merge 17 commits into from

Conversation

tanmaygupta9
Copy link

@tanmaygupta9 tanmaygupta9 commented Apr 3, 2024

Extended llm.py and relevant configs to accept Anthropic's Claude models and update docs.

llm = get_llm(
agent_config.common.llm,
'gpt-4',
Copy link
Author

Choose a reason for hiding this comment

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

@kaikun213 forcing it to use gpt-4's tokenizer here through tiktoken because otherwise langchain tries to import claude's tokenizer from transformers otherwise (and I don't think we want to add that to dependencies). Does that work?

@tanmaygupta9 tanmaygupta9 marked this pull request as ready for review August 2, 2024 04:25
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