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

[WIP] Add sample code in Python #9

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hund030
Copy link
Contributor

@hund030 hund030 commented Jun 14, 2024

No description provided.

src/.env Outdated Show resolved Hide resolved
src/app.py Outdated Show resolved Hide resolved
src/app.py Outdated Show resolved Hide resolved
message = data["message"]

# gets the API Key from environment variable AZURE_OPENAI_API_KEY
client = AzureOpenAI(

Choose a reason for hiding this comment

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

Since we're using Quart, we should take advantage of the Async client instead, I think?

.gitignore Outdated Show resolved Hide resolved
@hund030 hund030 changed the title Add sample code in Python [WIP] Add sample code in Python Jun 18, 2024
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