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

fix(OpenRouter): Open router generator duplicate key bug fixed #224

Merged
merged 40 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1776c30
fix: fixed open router model pricings, added doc, fixed naming conven…
gunpal5 Apr 3, 2024
0cf6ba7
fix: open router provider unit test case
gunpal5 Apr 3, 2024
339466a
Merge branch 'tryAGI:main' into main
gunpal5 Apr 4, 2024
5d513e0
feat: added open router code generator
gunpal5 Apr 4, 2024
1ca56d7
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 4, 2024
6c0d6bc
fix: some code fixes
gunpal5 Apr 4, 2024
575a41a
refactor: Rearranged and documented the codes of open router code gen…
gunpal5 Apr 4, 2024
13b0596
fix: some fixes
gunpal5 Apr 4, 2024
622a373
feat: added command line parameters into Open Router Code Generator a…
gunpal5 Apr 4, 2024
0c4cb59
fix: formatting issue
gunpal5 Apr 4, 2024
f28408b
fix: fixed some formatting issue in the open router code generator
gunpal5 Apr 4, 2024
10daac4
fix: code formatting
gunpal5 Apr 4, 2024
28f20b1
fix: parameter doc of GenerateCodesAsync
gunpal5 Apr 4, 2024
c501092
Merge branch 'tryAGI:main' into main
gunpal5 Apr 4, 2024
e3be63b
feat: updated anthropic sdk
gunpal5 Apr 4, 2024
e96c161
feat: added function calling support for Anthropic Claude 3 models
gunpal5 Apr 4, 2024
62f02a1
fix: removed unused codes
gunpal5 Apr 4, 2024
1af650c
fix: Anthropic dependency injection
gunpal5 Apr 4, 2024
d7b616c
fix: added anthropic into meta
gunpal5 Apr 5, 2024
10a9d5c
fix: anthropic generator path
gunpal5 Apr 5, 2024
37c67f8
fix: anthropic generator path
gunpal5 Apr 5, 2024
02d9629
Merge branch 'tryAGI:main' into main
gunpal5 Apr 5, 2024
1d090d9
feat: added Claude v2.1 and Claude instant 1.2 in the Anthropic provi…
gunpal5 Apr 5, 2024
e9e11dd
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 5, 2024
9e04dea
fix: Anthropic model docs
gunpal5 Apr 5, 2024
343871e
feat: Added DeepSeek AI Provider
gunpal5 Apr 6, 2024
2ac3050
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 6, 2024
9044e21
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 6, 2024
203b8e8
feat: Added proper implementation for Together.ai
gunpal5 Apr 6, 2024
67b1160
fix: together.ai docs
gunpal5 Apr 6, 2024
0db428a
fix: code cleanups
gunpal5 Apr 6, 2024
bbb49ab
fix: code cleanups
gunpal5 Apr 6, 2024
56c286c
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 7, 2024
a72c4ac
fix: open router models pricings
gunpal5 Apr 7, 2024
e8b1a3e
Merge branch 'main' of https://github.com/gunpal5/LangChain
gunpal5 Apr 20, 2024
2a5226a
feat: Added Meta Llama 3 Models into Open Router Provider
gunpal5 Apr 20, 2024
b5ae3c9
fix: merge conflicts
gunpal5 Apr 21, 2024
387ef8a
fix(OpenRouter): fixed generator duplicate key bug
gunpal5 Apr 21, 2024
50312cf
Update src/Providers/OpenRouter/tests/OpenRouterTests.cs
HavenDV Apr 21, 2024
c94358e
Update src/Providers/OpenRouter/tests/OpenRouterTests.cs
HavenDV Apr 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions src/Providers/OpenRouter/src/OpenRouterModelIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ public enum OpenRouterModelIds
/// </summary>
Mistral7BInstructFree = 0,

/// <summary>
/// OpenChat is a library of open-source language models, fine-tuned with "C-RLFT (Conditioned Reinforcement Learning Fine-Tuning)" - a strategy inspired by offline reinforcement learning. It has been trained on mixed-quality data without preference labels. <br/>
/// Note: this is a free, rate-limited version of this model. Outputs may be cached. Read about rate limits here. <br/>
/// </summary>
OpenChat35Free = 1,

/// <summary>
/// From the creator of MythoMax, merges a suite of models to reduce word anticipation, ministrations, and other undesirable words in ChatGPT roleplaying data. <br/>
/// It combines Neural Chat 7B, Airoboros 7b, Toppy M 7B, Zepher 7b beta, Nous Capybara 34B, OpenHeremes 2.5, and many others. <br/>
Expand Down Expand Up @@ -53,6 +47,14 @@ public enum OpenRouterModelIds
/// </summary>
GoogleGemma7BFree = 5,

/// <summary>
/// A #merge model based on Llama-2-13B and made possible thanks to the compute provided by the KoboldAI community. It's a merge between: <br/>
/// KoboldAI/LLaMA2-13B-Tiefighter <br/>
/// chaoyi-wu/MedLLaMA_13B <br/>
/// Doctor-Shotgun/llama-2-13b-chat-limarp-v2-merged. <br/>
/// </summary>
Psyfighter13B = 6,

/// <summary>
/// The v2 of Psyfighter - a merged model created by the KoboldAI community members Jeb Carter and TwistedShadows, made possible thanks to the KoboldAI merge request service. <br/>
/// The intent was to add medical data to supplement the model's fictional ability with more details on anatomy and mental states. This model should not be used for medical advice or therapy because of its high likelihood of pulling in fictional data. <br/>
Expand Down Expand Up @@ -449,6 +451,12 @@ public enum OpenRouterModelIds
/// </summary>
MetaLlamaV270BChat = 71,

/// <summary>
/// This model is trained on the Yi-34B model for 3 epochs on the Capybara dataset. It's the first 34B Nous model and first 200K context length Nous model. <br/>
/// Note: This endpoint currently supports 32k context. <br/>
/// </summary>
NousCapybara34B = 72,

/// <summary>
/// A Llama 2 70B fine-tune using synthetic data (the Airoboros dataset). <br/>
/// Currently based on jondurbin/airoboros-l2-70b-2.2.1, but might get updated in the future. <br/>
Expand Down Expand Up @@ -781,13 +789,15 @@ public enum OpenRouterModelIds
MistralLarge = 120,

/// <summary>
/// Command is an instruction-following conversational model that performs language tasks with high quality, more reliably and with a longer context than our base generative models. <br/>
/// Command is an instruction-following conversational model that performs language tasks with high quality, more reliably and with a longer context than our base generative models. <br/>
/// Use of this model is subject to Cohere's Acceptable Use Policy. <br/>
/// </summary>
CohereCommand = 121,

/// <summary>
/// Command-R is an instruction-following conversational model that performs language tasks at a higher quality, more reliably, and with a longer context than previous models. It can be used for complex workflows like code generation, retrieval augmented generation (RAG), tool use, and agents. <br/>
/// Read the launch post here. <br/>
/// Command-R is a 35B parameter model that performs conversational language tasks at a higher quality, more reliably, and with a longer context than previous models. It can be used for complex workflows like code generation, retrieval augmented generation (RAG), tool use, and agents. <br/>
/// Read the launch post here. <br/>
/// Use of this model is subject to Cohere's Acceptable Use Policy. <br/>
/// </summary>
CohereCommandR = 122,

Expand Down
Loading
Loading