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

chore: Update docs for supported messaged roles #1820

Open
7 tasks
louis-jan opened this issue Dec 23, 2024 · 1 comment
Open
7 tasks

chore: Update docs for supported messaged roles #1820

louis-jan opened this issue Dec 23, 2024 · 1 comment
Assignees
Labels
type: bug Something isn't working

Comments

@louis-jan
Copy link
Contributor

Cortex version

latest

Describe the issue and expected behaviour

Minor: there are 3 supported message roles at the moment:

  • system (later developer?)
  • user
  • assistant

Steps to Reproduce

Go to cortex.so, click API reference, see Create Message section

Screenshots / Logs

CleanShot 2024-12-23 at 12 59 06@2x

What is your OS?

  • Windows
  • Mac Silicon
  • Mac Intel
  • Linux / Ubuntu

What engine are you running?

  • cortex.llamacpp (default)
  • cortex.tensorrt-llm (Nvidia GPUs)
  • cortex.onnx (NPUs, DirectML)

Hardware Specs eg OS version, GPU

No response

@louis-jan louis-jan added the type: bug Something isn't working label Dec 23, 2024
@github-project-automation github-project-automation bot moved this to Investigating in Jan & Cortex Dec 23, 2024
@namchuai
Copy link
Contributor

@louis-jan , we are following OpenAI's documentation. https://platform.openai.com/docs/api-reference/messages/createMessage

When storing messages, we only accept user or assistant role. system will be used in /chat/completion API, but not for /messages API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: Investigating
Development

No branches or pull requests

2 participants