Skip to content

Max-We/Japanese-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Japanese RAG

Japanese RAG is a small RAG (Retrieval-Augmented Generation) chatbot that is able to answer questions about the Japanese language. The chatbot is based on the Weaviate knowledge graph, the OpenAI API and Streamlit.

chat interface

Installation

First, clone the repository and install the dependencies with the following commands:

poetry install

Setup

  1. Create a secrets.toml file
  2. Create a new Weaviate Cluster
  3. Create a Weaviate API Key
  4. Create an OpenAI API Key

Finally, add the following credentials to the secrets.toml file:

OPENAI_API_KEY = 'xxx'
WEAVIATE_URL = 'https://xxx'
WEAVIATE_API_KEY = 'xxx'

Run

After that the installation and setup, you can run the Streamlit app with the following command:

poetry run streamlit run app.py

Import Data

You can upload your data as ZIP-archive (containing individual text-files, example data) under the Data tab.

import interface

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages