mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-14 06:23:45 +00:00
chore: recordings for fireworks (inference + openai) (#3573)
# What does this PR do? recorded for: ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai ## Test Plan ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai
This commit is contained in:
parent
53b15725b6
commit
0d94f3e2c0
24 changed files with 46171 additions and 3 deletions
39
tests/integration/recordings/responses/8cdb7e65fcfe.json
Normal file
39
tests/integration/recordings/responses/8cdb7e65fcfe.json
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"input": "Test dimensions parameter",
|
||||
"encoding_format": "base64",
|
||||
"dimensions": 16
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": "AABuvwAApkAAAAnAAAAwPgAAEMAAAFa/AABUvwAAlD8AABVAAACBvwAAQMAAAINAAABWPwAA0D0AAAFAAACLvw==",
|
||||
"index": 0,
|
||||
"object": "embedding",
|
||||
"raw_output": null
|
||||
}
|
||||
],
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5,
|
||||
"completion_tokens": 0
|
||||
},
|
||||
"perf_metrics": null
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue