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

Example from documentation does not work #187

Open
sergejsrk opened this issue Sep 18, 2024 · 0 comments
Open

Example from documentation does not work #187

sergejsrk opened this issue Sep 18, 2024 · 0 comments

Comments

@sergejsrk
Copy link

Describe the bug

I am using an example from documentation at https://docs.together.ai/docs/introduction.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following code:
from together import Together
client = Together()

completion = client.chat.completions.create(
  model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
  messages=[{"role": "user", "content": "What are the top 3 things to do in New York?"}],
)

Expected behavior
I would expect something about New York.

However what I get is : "I'm ready to help. What would you like to know or discuss?"
image

Screenshots
Print out of a completion object can be seen below:
image

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

No branches or pull requests

1 participant