-
- Downloads
Refactor prompts (#115)
Co-authored-by:
Jerry Liu <jerry@robustintelligence.com>
Showing
- docs/how_to/custom_prompts.md 10 additions, 11 deletionsdocs/how_to/custom_prompts.md
- docs/reference/prompts.rst 4 additions, 47 deletionsdocs/reference/prompts.rst
- examples/paul_graham_essay/TestEssay.ipynb 24 additions, 12 deletionsexamples/paul_graham_essay/TestEssay.ipynb
- examples/paul_graham_essay/index_with_query.json 1 addition, 1 deletionexamples/paul_graham_essay/index_with_query.json
- gpt_index/__init__.py 18 additions, 0 deletionsgpt_index/__init__.py
- gpt_index/indices/keyword_table/base.py 4 additions, 3 deletionsgpt_index/indices/keyword_table/base.py
- gpt_index/indices/list/base.py 3 additions, 3 deletionsgpt_index/indices/list/base.py
- gpt_index/indices/query/keyword_table/query.py 16 additions, 9 deletionsgpt_index/indices/query/keyword_table/query.py
- gpt_index/indices/query/list/embedding_query.py 3 additions, 3 deletionsgpt_index/indices/query/list/embedding_query.py
- gpt_index/indices/query/list/query.py 5 additions, 5 deletionsgpt_index/indices/query/list/query.py
- gpt_index/indices/query/tree/embedding_query.py 15 additions, 9 deletionsgpt_index/indices/query/tree/embedding_query.py
- gpt_index/indices/query/tree/leaf_query.py 15 additions, 9 deletionsgpt_index/indices/query/tree/leaf_query.py
- gpt_index/indices/query/tree/retrieve_query.py 3 additions, 4 deletionsgpt_index/indices/query/tree/retrieve_query.py
- gpt_index/indices/query/vector_store/faiss.py 5 additions, 5 deletionsgpt_index/indices/query/vector_store/faiss.py
- gpt_index/indices/tree/base.py 8 additions, 15 deletionsgpt_index/indices/tree/base.py
- gpt_index/indices/vector_store/faiss.py 3 additions, 3 deletionsgpt_index/indices/vector_store/faiss.py
- gpt_index/langchain_helpers/chain_wrapper.py 1 addition, 1 deletiongpt_index/langchain_helpers/chain_wrapper.py
- gpt_index/prompts/base.py 54 additions, 32 deletionsgpt_index/prompts/base.py
- gpt_index/prompts/default_prompts.py 21 additions, 39 deletionsgpt_index/prompts/default_prompts.py
- gpt_index/prompts/prompt_type.py 3 additions, 0 deletionsgpt_index/prompts/prompt_type.py
Loading
Please register or sign in to comment