llama-stack/docs/source
snova-edwardm 22dc684da6
Sambanova inference provider (#555)
# What does this PR do?

This PR adds SambaNova as one of the Provider

- Add SambaNova as a provider

## Test Plan
Test the functional command
```
pytest -s -v --providers inference=sambanova llama_stack/providers/tests/inference/test_embeddings.py llama_stack/providers/tests/inference/test_prompt_adapter.py llama_stack/providers/tests/inference/test_text_inference.py llama_stack/providers/tests/inference/test_vision_inference.py --env SAMBANOVA_API_KEY=<sambanova-api-key>
```

Test the distribution template:
```
# Docker
LLAMA_STACK_PORT=5001
docker run -it -p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
  llamastack/distribution-sambanova \
  --port $LLAMA_STACK_PORT \
  --env SAMBANOVA_API_KEY=$SAMBANOVA_API_KEY

# Conda
llama stack build --template sambanova --image-type conda
llama stack run ./run.yaml \
  --port $LLAMA_STACK_PORT \
  --env SAMBANOVA_API_KEY=$SAMBANOVA_API_KEY
```

## Source
[SambaNova API Documentation](https://cloud.sambanova.ai/apis)

## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [Y] Ran pre-commit to handle lint / formatting issues.
- [Y] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [Y] Updated relevant documentation.
- [Y ] Wrote necessary unit or integration tests.

---------

Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
2025-01-23 12:20:28 -08:00
..
benchmark_evaluations Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
building_applications Llama_Stack_Building_AI_Applications.ipynb -> getting_started.ipynb (#854) 2025-01-23 12:04:06 -08:00
concepts Sambanova inference provider (#555) 2025-01-23 12:20:28 -08:00
contributing update docs for adding new API providers (#855) 2025-01-23 12:05:57 -08:00
distributions Sambanova inference provider (#555) 2025-01-23 12:20:28 -08:00
getting_started Update Documentation (#838) 2025-01-22 20:38:52 -08:00
introduction Update Documentation (#838) 2025-01-22 20:38:52 -08:00
playground update playground doc video 2024-12-26 14:50:19 -08:00
references Update default port from 5000 -> 8321 2025-01-16 15:26:48 -08:00
conf.py [docs] add playground ui docs (#592) 2024-12-12 10:40:38 -08:00
index.md Sambanova inference provider (#555) 2025-01-23 12:20:28 -08:00