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

[Feature] Add multiple LLM API providers #13

Merged
merged 7 commits into from
Apr 21, 2024
Merged

Conversation

gwenwindflower
Copy link
Owner

This PR expands the LLM features to multiple selectable providers.

  • Groq running Llama 3 70B
  • Anthropic Claude 3 Opus
  • OpenAI GPT-4 Turbo

It should be relatively simple to add more providers in the future. Officially removing the 'experimental' tag from the LLM features.

GPT-4 Turbo is the clear best pick so made that the default setting.

Use SQL params where possible (couldn't get Snowflake to work) and more robust handling of blank values from forms (ie multiple spaces are now still seen as empty)
Adds OpenAI and Anthropic, which took significant refactoring.
Iterates quicker and less lag when 'complete' but actually wrapping up the final tables columns.
This was causing Anthropic's API to 400, and we don't need it, it was being passed as null on the other APIs anyway.
@gwenwindflower gwenwindflower changed the title [Feature] Add multiple LLM API providers (Anthropic, OpenAI) [Feature] Add multiple LLM API providers Apr 21, 2024
@gwenwindflower gwenwindflower merged commit bb2c128 into main Apr 21, 2024
1 check passed
@gwenwindflower gwenwindflower deleted the feat/multi-llm branch April 21, 2024 19:20
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