Skip to content

Groq implementation #111

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

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Groq implementation #111

merged 4 commits into from
Apr 30, 2024

Conversation

PeriniM
Copy link
Contributor

@PeriniM PeriniM commented Apr 30, 2024

Added the possibility to use the llm models provided by Groq.
Since there are no embeddings models on Groq, it should be used in combination with one (OpenAI or a local one).
You can find an example in the examples/mixed_models folder.
For example:

graph_config = {
    "llm": {
        "model": "groq/gemma-7b-it",
        "api_key": groq_key,
        "temperature": 0
    },
    "embeddings": {
        "model": "ollama/nomic-embed-text",
        "temperature": 0,
        "base_url": "http://localhost:11434",  # set ollama URL arbitrarily
    }
}

Available models are listed here

@PeriniM PeriniM merged commit ae2971c into pre/beta Apr 30, 2024
@PeriniM PeriniM deleted the groq-implementation branch April 30, 2024 00:59
Copy link

🎉 This PR is included in version 0.5.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 0.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant