Releases: kyolee415/generative-ai-docs
Releases · kyolee415/generative-ai-docs
0.2.2
What's changed
- Bug fixes related to the new AQA model integration.
- Prevent Docs Agent from crashing when OAuth is not set and the AQA model is not used.
- Prevent Docs Agent from crashing when the AQA model fails to respond.
- Enable the Docs Agent UI to display the URL matadata from an entry used by the AQA model.
- Log the
Answerable probabilityscore when the AQA model is used. - Update
whats-new.mdfor January, 2024.
0.2.1
What's changed
- Integrate the Semantic Retrieval API to Docs Agent.
- Turn
chroma.pyandpalm.pyinto modules. - Refactor and enhance the pre-processing scripts.
- Introduce
files_to_plain_text.py, which will replacemarkdown_to_plain_text.py. - Add a new doc:
doc/whats-new.md.
0.2.0
0.1.6
What's changed
- Update the prompt condition to be more specific and follow
best practices in prompting. - Enable the chatbot server to provide a custom condition string to
the DocsAgent class. - Bug fix: Provide a custom condition when asking for 5 related
questions to the PaLM model. - Add a new config variable to specify the log level to be "VERBOSE"
- Improve the rendering of code text and code blocks on the chat app UI.
- Rephrase the sentence that describes the page, section, and subsection
structure of Markdown pages in themarkdown_to_plain_text.pyscript. - Update the pre-processing diagram to fix a typo (
appscriptstoapps_script)
0.1.5
What's changed
- Update the
poetry.lockfile to bump up the version ofwerkzeug - Update the introduction paragraph of the main
READMEfile. - Add a new diagram on Docs Agent's pre-processing flow of various doc types.
- Update the
READMEfile in thescriptdirectory to include the diagram.
0.1.4
What's changed
- Bug fix: Update
docs_agent.pyto remove a no-longer-in-use error message variable. - Clean up the prompt format in Docs Agent
- Context is added to prompts as Markdown
- Remove extra new lines in context
- Add extra new lines after the instruction and before the question in prompts.
- Remove the warning message in the Chroma module, which as displayed
when launching the chatbot. - Update the embeddings diagrams in the main
READMEfile. - Minor updates in the main
READMEfile.
0.1.2
What's changed
- Refactored the
chatbot/chatui.pyto consolidate methods intoask_model(). - Updated the element names in the
result.htmltemplate. - Cleaned up the code related to reading and replacing custom error messages.
- Added more comments describing each prompt in the
ask_model()method. - Moved the role of
condition.txttoconfig.yaml. - Updated the Docs Agent module to read custom prompt text from
config.yaml. - Removed the
condition.txtfile. - Re-generated the
poetry.lockfile to be up to date.
0.1.1
What's changed
- Update the version of ChromaDB to 4.13.
- Re-generate the
poetry.lockfile. - Update Python scripts to migrate ChromaDB from 3.21 to 4.13
(See https://docs.trychroma.com/migration). - Updated README to clarify when to delete an existing vector database.
- Update the chatbot UI template to use "PaLM" to refer to the AI model.