Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

yuhexiong/gpt-llama-index-rag-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(also provided Traditional Chinese version documentREADME-CH.md.)

Using Llama Index integrated with OpenAI GPT to implement RAG, enabling it to read files from the directory and provide better-informed answers.

Overview

  • Module: openai v1.64.0
  • RAG: llama_index v0.12.19

Run

Prerequisites

  1. Obtain an API key fromOpenAI (a paid subscription may be required) and update your.env file with the key.
  2. Place your reference notes or documents in thedata directory. Two sample files are already provided.
  3. After reading the documents, the program will store the generated index in theindex_storage directory.

Install Module

pip install openai==1.64.0 llama_index==0.12.19

Run

python starter.py

References

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp