Skip to content

Commit

Permalink
fix: prompt/completion format
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga committed Mar 19, 2024
1 parent 902ac95 commit e189004
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/registry/llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ groups:
tag: llm-generic-response
- id: prompt
type: string
brief: The full prompt string sent to an LLM in a request.
examples: ['\\n\\nHuman:You are an AI assistant that tells jokes. Can you tell me a joke about OpenTelemetry?\\n\\nAssistant:']
brief: The full prompt sent to an LLM, as a stringified JSON in OpenAI's format.
examples: ["[{'role': 'user', 'content': 'What is the capital of France?'}]"]
tag: llm-generic-events
- id: completion
type: string
brief: The full response string from an LLM in a response.
examples: ['Why did the developer stop using OpenTelemetry? Because they couldnt trace their steps!']
brief: The full response received from the LLM, as a stringified JSON in OpenAI's format.
examples: ["[{'role': 'assistant', 'content': 'The capital of France is Paris.'}]"]
tag: llm-generic-events

0 comments on commit e189004

Please sign in to comment.