Skip to main content

No project description provided

Project description

LitChat 🔥

LitChat is an AI powered tool that employs OpenAI's gpt-3.5-turbo-16k model and llamaindex vector database to interact with a literature corpus. It answers questions and writes reviews based on the literature data it interacts with. It comes with a user-friendly chat interface and the ability to configure custom literature datasets. Users can also provide a flexible literature review template that will be populated by LitChat.

Table of Contents

Features

  • GPT-3.5-turbo-16k powered: LitChat uses OpenAI's advanced language model for high quality responses.
  • llamaindex integration: Utilises a vector database to query literature for the most relevant context.
  • Chat Interface: LitChat offers an intuitive chat interface, making it easy for users to interact with the system.
  • Customizable Literature Datasets: LitChat can be configured to use custom literature datasets.
  • Literature Review Generation: Provides a flexible template system for literature review generation.

Installation

To get LitChat up and running on your local machine, follow these steps:

  1. Clone the repository:
git clone https://github.com/yourusername/LitChat.git
  1. Navigate into the cloned directory:
cd LitChat
  1. Install the dependencies:
pip install -r requirements.txt
  1. Add environment variables:

You will need to get your own API keys for OpenAI and llamaindex. Once you have them, add them to a .env file:

echo "OPENAI_API_KEY=your_key_here" >> .env
echo "LLAMAINDEX_API_KEY=your_key_here" >> .env
  1. Run LitChat:
python main.py

Usage

To interact with LitChat, simply input your question or prompt into the chat interface. If you want to generate a literature review, provide the template in the correct format.

For detailed instructions, please refer to the User Guide.

Contributing

Contributions to LitChat are welcomed! If you found a bug, have an idea for a feature, or think you can improve the code, we'd love to know. Please refer to the Contributing Guide for more information.

License

LitChat is licensed under the MIT license.

Acknowledgements

LitChat would not be possible without the amazing work by the OpenAI and llamaindex teams. This project is not affiliated with OpenAI or llamaindex.

Support

For any issues, please contact LitChat Support.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litchat-0.0.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

litchat-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file litchat-0.0.1.tar.gz.

File metadata

  • Download URL: litchat-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for litchat-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1446ebc10389b40d1cbefb374d007820f6fba263852b8fe3d151153837361ec9
MD5 df35f67f3be79a42439bfdd9fc7e7e03
BLAKE2b-256 836298f17ece909ad11bbcd72a13a2b519a1b747e6f4cd468b587108ad09d87d

See more details on using hashes here.

File details

Details for the file litchat-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: litchat-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for litchat-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 234bcc0f6a0e6d1c8632a1fe98b99f337ac0c5ac072d0dd5f6a5748aa8e4ef90
MD5 7999f9a8d53cdd48e52a26ea04b3cd2c
BLAKE2b-256 edb41639174bffa165af97f338c4e8853e29ede203c2f2f3eb7d0dc37dfc9031

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page