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: add cohere backend #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maxbrunet
Copy link

Hello! 👋

This adds support for Cohere. API Reference: docs.cohere.com/reference/chat

I have not done a lot of experimentation yet, but it requires a custom preamble to work well for code completion since the default is design to be an assistant, it's a little too chatty. So far this is what I tested with:

You are a software engineer. Complete the code. Do not repeat the given code. Do not explain.

If this PR is accepted, I will document it and other default parameters in the editor extensions.

Disclaimer: I am a Cohere employee experimenting with the product, this is in no way indicates that Cohere will provide official support for llm-ls. 🙂

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