mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 10:53:02 +01:00
c1128a1ad8
- Chat actors are narrow agents (prompt + ML model) Chat actors are different from the Chat director. who orchestrates the narrow actor agents to synthesize final response to the user - Test Chat Actor Capabilities 1. Answer from retrieved notes 2. Answer from chat history 3. Answer general questions 4. Carry out multi-turn conversation 5. Say don't know when answer not in provided context 6. Answers that require current date awareness 7. Date-aware aggregation across multiple different notes 8. Ask clarification questions if no unambiguous answer in provided context This test is expected to fail as the chat is not capable of doing this consistently yet. But having the test allows assessing chat quality - Use Openai API Key from OPENAI_API_KEY environment variable - Gitignore .env file, python virtualenv directory Put OpenAI API Key in .env file to run chatbot tests via vscode The .env file is default location for importing env vars
38 lines
523 B
Text
38 lines
523 B
Text
# Khoj artifacts
|
|
*.gz
|
|
*.pt
|
|
tests/data/models
|
|
tests/data/embeddings
|
|
|
|
# External app artifacts
|
|
__pycache__
|
|
.DS_Store
|
|
.emacs.desktop*
|
|
*.py[cod]
|
|
.vscode
|
|
.env
|
|
.venv/*
|
|
|
|
# Build artifacts
|
|
/src/khoj/interface/web/images
|
|
/build/
|
|
/dist/
|
|
khoj_assistant.egg-info
|
|
/config/khoj*.yml
|
|
.pytest_cache
|
|
khoj.log
|
|
|
|
# Obsidian plugin artifacts
|
|
# ---
|
|
# npm
|
|
node_modules
|
|
|
|
# Don't include the compiled obsidian main.js file in the repo.
|
|
# They should be uploaded to GitHub releases instead.
|
|
main.js
|
|
|
|
# Exclude sourcemaps
|
|
*.map
|
|
|
|
# obsidian
|
|
data.json
|