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

Adapter Ollama #113

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

Adapter Ollama #113

wants to merge 1 commit into from

Conversation

danstarns
Copy link
Member

Exploring ways to integrate Ollama into GQLPT.

Related:

@danstarns
Copy link
Member Author

@sbilello we would appreciate sharing your use cases and requirements for this adapter 🙏

typeDefs,
adapter: new AdapterOllama({
url: "https://ollama.com/graphql",
model: "llama3.2",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if its worth exploring creating dynamic models that are trained on the schema, or creating and publishing a specific model that has mostly been trained around graphql data.

This is fairly large and slow and unusable compared to the other adapters.

Comment on lines +24 to +31
// {
// name: "OpenAI",
// adapter: new AdapterOpenAI({ apiKey: TEST_OPENAI_API_KEY }),
// },
// {
// name: "Anthropic",
// adapter: new AdapterAnthropic({ apiKey: TEST_ANTHROPIC_API_KEY }),
// },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temp taking out other adapters to test Ollama.

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