We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
are there plans to support local backends instead of just openai/claude etc?
The text was updated successfully, but these errors were encountered:
In theory, you could create your own integration and pass it as a component to the ChatProvider.
component
ChatProvider
See https://docs.ai-jsx.com/guides/models#setting-the-model-explicitly
I haven't tried this yet, but thinking about it.
Sorry, something went wrong.
Well took some time this evening to hack something and ended up working on an Ollama Provider. Find it here: https://gist.github.com/microchipgnu/0f327e328c4e18e4549725b41ee37d84
The code could see a cleanup and is based off of the Replicate Llama2 Provider.
I also included the index.tsx based on the ai-jsx-template and changed it a bit with the automation example I found on the docs.
index.tsx
No branches or pull requests
are there plans to support local backends instead of just openai/claude etc?
The text was updated successfully, but these errors were encountered: