Skip to content

Adapter Ollama#113

Draft
danstarns wants to merge 1 commit intomainfrom
feat/adapter-ollama
Draft

Adapter Ollama#113
danstarns wants to merge 1 commit intomainfrom
feat/adapter-ollama

Conversation

@danstarns
Copy link
Copy Markdown
Member

Exploring ways to integrate Ollama into GQLPT.

Related:

@danstarns
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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