Skip to content

Conversation

@comeca-ai
Copy link

This change allows the application to use locally hosted AI models via Ollama for data enrichment and field generation tasks.

  • Modified OpenAIService to accept Ollama API base URL and model name.
  • Updated environment variable handling to include OLLAMA_API_BASE and OLLAMA_MODEL.
  • Adjusted API routes and dependent services to pass Ollama configuration.
  • Ensured fallback to OpenAI if Ollama is not configured.

This change allows the application to use locally hosted AI models via Ollama for data enrichment and field generation tasks.

- Modified `OpenAIService` to accept Ollama API base URL and model name.
- Updated environment variable handling to include `OLLAMA_API_BASE` and `OLLAMA_MODEL`.
- Adjusted API routes and dependent services to pass Ollama configuration.
- Ensured fallback to OpenAI if Ollama is not configured.
@comeca-ai comeca-ai closed this Jun 25, 2025
@comeca-ai comeca-ai reopened this Jun 25, 2025
@comeca-ai
Copy link
Author

jules

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