Skip to content

Conversation

ishaan-jaff
Copy link
Contributor

@ishaan-jaff ishaan-jaff commented Feb 23, 2024

Sample Usage

from litellm import completion
import os

os.environ['GROQ_API_KEY'] = ""
response = completion(
    model="groq/llama2-70b-4096", 
    messages=[
       {"role": "user", "content": "hello from litellm"}
   ],
)
print(response)

Copy link

vercel bot commented Feb 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm 🔄 Building (Inspect) Visit Preview Feb 23, 2024 6:44pm
litellm-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 6:44pm

Copy link

railway-app bot commented Feb 23, 2024

This PR is being deployed to Railway 🚅

litellm: ◻️ REMOVED

@abigailhaddad
Copy link

Thank you! it's working.

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