-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/client/raas #1018
base: Feature/#959
Are you sure you want to change the base?
Feature/client/raas #1018
Conversation
hongsw
commented
Nov 30, 2024
/artifacts/content
- Added `ex1.py`, which includes functions for setting up RAG pipeline, querying RAG, and a main function to run the process. - Created `requirements.txt` listing necessary dependencies: `openai>=1.0.0`, `jinja2>=3.0.0`, and `autorag-client>=0.1.0`.
This commit introduces the AutoRAG client and relevant models for project management. It includes the `AutoRAGClient`, `Project`, `RAGPipeline`, `RetrievalResults`, `Retrieval`, `APIError`, and `AuthenticationError` classes, along with their respective functionalities and methods. Additionally, it sets up logging configurations based on the environment variable `AUTORAG_ENV`. The commit also updates the dependencies in `pyproject.toml` to include necessary client modules like `requests` and `aiohttp`.
…, file uploads, embeddings, RAG pipeline creation, and querying.
- Added `exceptions.py` to include custom exceptions for the AutoRAG client: `AutoRAGClientError`, `AuthenticationError`, and `APIError`.
This commit introduces the initial setup for an AutoRAG client example implementation. It includes functionalities to set up RAG pipelines, query the RAG pipeline with a question, and print relevant information. Key additions encompass setting up the RAG prompt template, initializing the RAG pipeline, querying the RAG pipeline, and evaluating the system. Changes: - Added a new Python file `ex1.py` containing functions to setup and query RAG pipelines. - Added a shell script `copy_example_pdf.sh` to copy PDF files to a specified directory. - Included a `requirements.txt` file listing dependencies such as `openai`, `jinja2`, and `autorag-client`.
…ctions to AutoRAG client README (#1023) - Added a section for tutorials, including Tutorial 1 - Included environment variables `AUTORAG_API_KEY` and `AUTORAG_BASE_URL` - Provided installation instructions using `pip install autorag-client` command Co-authored-by: Seungwoo hong <Seungwoo hong [email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really done?
|
||
This is the client for AutoRAG Studio Cloud. | ||
|
||
To register this, please contact to Jeffrey Kim. ([email protected]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change the e-mail address to [email protected]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
@@ -0,0 +1,2 @@ | |||
AUTORAG_API_KEY=ar-kkhDPdtr1VciePOQR-N7Y_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The real api key seems unsafe. Is it real api key????
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not real key
awslogs-region: ap-northeast-2 # AWS 리전 | ||
awslogs-group: /docker/autorag-api-vmonster # CloudWatch 로그 그룹 | ||
awslogs-create-group: 'true' # 로그 그룹 자동 생성 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The awslogs region and the group cannot specify on the open source version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the opensource version, it doesn't need it. I will remove it.
originally, this client is for SaaS. I will change for AutoRAG api.
|