https://github.com/oleksandrtimoshenko/ai-apis
researching various AI API(s)
https://github.com/oleksandrtimoshenko/ai-apis
docker gemini-api openai-api openai-assistant-api python-3
Last synced: about 1 month ago
JSON representation
researching various AI API(s)
- Host: GitHub
- URL: https://github.com/oleksandrtimoshenko/ai-apis
- Owner: OleksandrTimoshenko
- Created: 2024-07-02T15:00:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T20:56:18.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T13:15:08.916Z (over 1 year ago)
- Topics: docker, gemini-api, openai-api, openai-assistant-api, python-3
- Language: Python
- Homepage:
- Size: 397 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# AI Tool Examples Repository
This repository contains examples of working with different AI tools.
## Overview
The primary goal is to demonstrate how to upload our own files to an API for updating an AI knowledge base.
# OpenAI
### Running in Docker (only for OpenAI)
#### Start Docker Container
1. Create a `.env` file at `cp ./OpenAI/.env.example ./OpenAI/.env`
2. Build the Docker image: `docker build -t ai ./`.
3. Run the Docker container: `docker run -it -v ./:/AI ai bash`.
Refer to the [OpenAI README](./OpenAI/Readme.md) for detailed instructions.
## Integrations (only for OpenAI)
`Here we have code for updating OpenAI assistant knowladge base from:`
### Jira
1. Create your own Jira API token.
2. Set Jira credentials in `./OpenAI/.env`.
3. Run `python ./AI_integrations/jira/main.py`.
### Confluence
1. Set Confluence credentials in `./OpenAI/.env`.
2. Run `python ./AI_integrations/confluence/main.py`.
## Data flow structure
`Jenkins is used on the diagram as an example of how to realize automatic deployment and updating of assistants.`
`So far, within the framework of this project Jenkins setup is not planned..`

# Google Gemini (just a cursory glance)
Refer to the [Gemini README](./Gemini/Readme.md) for more information.
## Project Structure
```
├── AI_integrations
│ ├── confluence
│ └── jira
├── Gemini
│ └── .env
├── OpenAI
│ └── .env
├── Readme.md
└── trainingData
└── jira
│ ├── jira_SPACE-XXXX.json
│ ...
└── confluence
├── confluence_SPACE-docx-name.pdf
...
```