Skip to content

Add support for mistralai and fireworks-ai - #74

Open
suryavanshi wants to merge 2 commits into
zou-group:mainfrom
suryavanshi:surya_firworks
Open

Add support for mistralai and fireworks-ai#74
suryavanshi wants to merge 2 commits into
zou-group:mainfrom
suryavanshi:surya_firworks

Conversation

@suryavanshi

@suryavanshi suryavanshi commented Jul 14, 2024

Copy link
Copy Markdown

This PR introduces support for FireworksAI API (https://fireworks.ai/) for very fast inference and Mistral API (https://docs.mistral.ai/) for Mistral models

Created textgrad/engine/fireworks.py and textgrad/engine/mistral.py, modeled after textgrad/engine/together.py
Updated textgrad/engine/init.py to recognize and parse models with 'fireworks' and 'mistral' in their name

@mertyg
mertyg requested a review from vinid July 14, 2024 19:00
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