Skip to content

[Feature]: Google Gemini as AI provider #93

Description

@RobertSmits

Problem Statement

At the moment only OpenAI and LocalAI are officialy supported.
I would like to use Google Gemini as the AI provider.
This can be done by using their OpenAI compatible API: https://generativelanguage.googleapis.com/v1beta/openai/
This however causes issues as Gemini doesn't support logprobs used in the tag request call.

Proposed Solution

If the use of logprobs in the AI calls can be made optional based on AI provider, this issue would be resolved.

Alternatives Considered

No response

Feature Area

AI/Outfit Recommendations

How important is this feature to you?

Nice to have

Additional Context

logprobs only gets used to get tags for clothing items.
As a test I set request_logprobs to false for this call and AI functions now seem to work correctly with Gemini

Contribution

  • I would be willing to help implement this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions