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: Cohere support as Custom Endpoint #2328

Merged
merged 7 commits into from Apr 5, 2024
Merged

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Apr 5, 2024

Summary

Introduces Cohere as a Custom Endpoint.

Uses an experimental new method of introducing custom endpoints, where the API does not need to conform to OpenAI spec.

The Cohere API is similar enough to allow this.

Closes #2318

image

Other Changes

  • Optimized UnknownIcon handling
  • Change default title prompt for OpenAI and Custom endpoints
  • downgraded firebase package due to low rating vulnerabilities found in package (npm audit)
  • Added typing where touched for improved intellisense (on VS Code)

Change Type

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • New documents have been locally validated with mkdocs

@danny-avila danny-avila merged commit cd7f3a5 into main Apr 5, 2024
3 checks passed
@danny-avila danny-avila deleted the stream-cohere branch April 5, 2024 19:19
@Trapper4888
Copy link

Would be nice to support cohere's grounded RAG, but probably a bit to much custom code for librechat purpose.

@danny-avila
Copy link
Owner Author

Would be nice to support cohere's grounded RAG, but probably a bit to much custom code for librechat purpose.

not out of the question, just more involved than the initial chat support

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.

Enhancement: Support for new cohere chat model family
2 participants