full-stack.yaml 809 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. app:
  2. config:
  3. id: 'full-stack-app'
  4. chunker:
  5. chunk_size: 100
  6. chunk_overlap: 20
  7. length_function: 'len'
  8. llm:
  9. provider: openai
  10. config:
  11. model: 'gpt-3.5-turbo'
  12. temperature: 0.5
  13. max_tokens: 1000
  14. top_p: 1
  15. stream: false
  16. prompt: |
  17. Use the following pieces of context to answer the query at the end.
  18. If you don't know the answer, just say that you don't know, don't try to make up an answer.
  19. $context
  20. Query: $query
  21. Helpful Answer:
  22. system_prompt: |
  23. Act as William Shakespeare. Answer the following questions in the style of William Shakespeare.
  24. vectordb:
  25. provider: chroma
  26. config:
  27. collection_name: 'my-collection-name'
  28. dir: db
  29. allow_reset: true
  30. embedder:
  31. provider: openai
  32. config:
  33. model: 'text-embedding-ada-002'