RAG based application to read large OpenAPI Specs
Ask OpenAPI is a web application that allows users to interact with OpenAPI specifications and convert them into human-readable formats.
- Docker
- Docker Compose
-
Create a
.env
file based on theexample.env
:- Copy
example.env
to.env
:cp example.env .env
- Edit the
.env
file to set your OpenAI API key:OPENAI_API_KEY=<your_openai_api_key> OPENAI_API_EMBEDDINGS_MODEL=text-embedding-ada-002 OPEN_API_MODEL=gpt-4o
- Copy
-
Build and start the application:
make chat
make sync url=<your_openapi_url>
: Sync OpenAPI specifications from a URL.make chat
: Start the chat interface.make clean
: Clean up generated data.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.