Spaces:
No application file
No application file
Download examples/rest-api/sample-config.yaml from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/rest-api/sample-config.yaml
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/examples/rest-api/sample-config.yaml
-
curl -L -o sample-config.yaml https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/rest-api/sample-config.yaml
606 Bytes
| app: | |
| config: | |
| id: 'default-app' | |
| llm: | |
| provider: openai | |
| config: | |
| model: 'gpt-3.5-turbo' | |
| temperature: 0.5 | |
| max_tokens: 1000 | |
| top_p: 1 | |
| stream: false | |
| template: | | |
| Use the following pieces of context to answer the query at the end. | |
| If you don't know the answer, just say that you don't know, don't try to make up an answer. | |
| $context | |
| Query: $query | |
| Helpful Answer: | |
| vectordb: | |
| provider: chroma | |
| config: | |
| collection_name: 'rest-api-app' | |
| dir: db | |
| allow_reset: true | |
| embedder: | |
| provider: openai | |
| config: | |
| model: 'text-embedding-ada-002' | |