Skip to content

Releases: kyolee415/generative-ai-docs

0.2.2

16 Feb 20:19

Choose a tag to compare

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 probability score when the AQA model is used.
  • Update whats-new.md for January, 2024.

0.2.1

02 Feb 05:24

Choose a tag to compare

What's changed

  • Integrate the Semantic Retrieval API to Docs Agent.
  • Turn chroma.py and palm.py into modules.
  • Refactor and enhance the pre-processing scripts.
  • Introduce files_to_plain_text.py, which will replace markdown_to_plain_text.py.
  • Add a new doc: doc/whats-new.md.

0.2.0

13 Dec 19:49

Choose a tag to compare

What's changed

  • Enable Docs Agent to work with Gemini models

0.1.6

12 Dec 01:11

Choose a tag to compare

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 the markdown_to_plain_text.py script.
  • Update the pre-processing diagram to fix a typo (appscripts to apps_script)

0.1.5

03 Nov 03:52

Choose a tag to compare

What's changed

  • Update the poetry.lock file to bump up the version of werkzeug
  • Update the introduction paragraph of the main README file.
  • Add a new diagram on Docs Agent's pre-processing flow of various doc types.
  • Update the README file in the script directory to include the diagram.

0.1.4

27 Oct 23:23

Choose a tag to compare

What's changed

  • Bug fix: Update docs_agent.py to 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 README file.
  • Minor updates in the main README file.

0.1.2

06 Oct 21:00

Choose a tag to compare

What's changed

  • Refactored the chatbot/chatui.py to consolidate methods into ask_model().
  • Updated the element names in the result.html template.
  • 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.txt to config.yaml.
  • Updated the Docs Agent module to read custom prompt text from config.yaml.
  • Removed the condition.txt file.
  • Re-generated the poetry.lock file to be up to date.

0.1.1

06 Oct 21:38

Choose a tag to compare

What's changed

  • Update the version of ChromaDB to 4.13.
  • Re-generate the poetry.lock file.
  • 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.