Skip to content
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

Add Rev AI support #1

Closed
wants to merge 3 commits into from
Closed

Conversation

giraffekey
Copy link

Add support for Rev AI based on the "Contribute to the repo to add more supported APIs" instruction in: daytonaio/content#13

I wasn't sure how to interpret the instruction, so let me know if I misinterpreted and if you want any other APIs added.

@nkkko
Copy link
Owner

nkkko commented Aug 20, 2024

Could you please add OpenAI and Groq as written in the related issue. Thanks.

@giraffekey
Copy link
Author

Done.

Copy link
Owner

@nkkko nkkko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks but I can't get it working for some reason. Have you tested it? Could you please update .env.example with prefilled values for standard fields besides the api keys.

@@ -17,6 +19,21 @@
AZURE_OPENAI_DEPLOYMENT_NAME_CHAT = os.getenv('AZURE_OPENAI_DEPLOYMENT_NAME_CHAT')
AZURE_OPENAI_API_VERSION_CHAT = os.getenv("AZURE_OPENAI_API_VERSION_CHAT")

# OpenAI configuration
OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
OPENAI_ENDPOINT = os.getenv('OPENAI_ENDPOINT')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need this? Have you tested it?

OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
OPENAI_ENDPOINT = os.getenv('OPENAI_ENDPOINT')
OPENAI_MODEL = os.getenv('OPENAI_MODEL')
OPENAI_MODEL_CHAT = os.getenv('OPENAI_MODEL_CHAT')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openai_model is whisper-1?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the values for endpoint, could you please enter examples in .env.example


# Groq OpenAI configuration
GROQ_OPENAI_API_KEY = os.getenv('GROQ_OPENAI_API_KEY')
GROQ_OPENAI_ENDPOINT = os.getenv('GROQ_OPENAI_ENDPOINT')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the values for endpoint, could you please enter examples in .env.example

@nkkko nkkko closed this Jan 15, 2025
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.

2 participants