Tamsen1995 / online_llm

0 stars 0 forks source link

ACs for MVP #1

Open Tamsen1995 opened 1 month ago

Tamsen1995 commented 1 month ago

Functional Requirements

Non-Functional Requirements

Error Handling and Logging

API Endpoint Requirements

Configuration and Environment

Documentation

Deployment

Tamsen1995 commented 1 month ago

Test with the following Python code:

from openai import OpenAI

client = OpenAI(
    base_url=<DEPLOYMENT_ENDPOINT>,
    api_key=<API_KEY_FOR_DEPLOYMENT>
)

completion = client.chat.completions.create(
    model="<ONLINE_MODEL_ID>",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "What is the top news about Gen AI today?"}
    ]
)

print(completion.choices[0].message)
Tamsen1995 commented 1 month ago
Tamsen1995 commented 1 month ago

Stretch Goal: