{"id":26576769,"url":"https://github.com/calapsss/assistants-api-easy","last_synced_at":"2025-03-23T03:34:05.939Z","repository":{"id":210545045,"uuid":"725466629","full_name":"calapsss/assistants-api-easy","owner":"calapsss","description":"Easy Implementation of Assistants API with Code Interpreter and File Retrieval","archived":false,"fork":false,"pushed_at":"2023-12-09T22:54:40.000Z","size":69,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-12-09T23:25:37.873Z","etag":null,"topics":["artificial-intelligence","assistants-api","openaiapi"],"latest_commit_sha":null,"homepage":"https://youtu.be/ZjpNx8qNnaA","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calapsss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-30T07:48:35.000Z","updated_at":"2023-12-08T23:33:41.000Z","dependencies_parsed_at":"2023-12-07T03:36:59.958Z","dependency_job_id":null,"html_url":"https://github.com/calapsss/assistants-api-easy","commit_stats":null,"previous_names":["calapsss/assistants-api-easy"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calapsss%2Fassistants-api-easy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calapsss%2Fassistants-api-easy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calapsss%2Fassistants-api-easy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calapsss%2Fassistants-api-easy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calapsss","download_url":"https://codeload.github.com/calapsss/assistants-api-easy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052659,"owners_count":20553162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","assistants-api","openaiapi"],"created_at":"2025-03-23T03:33:21.789Z","updated_at":"2025-03-23T03:34:05.911Z","avatar_url":"https://github.com/calapsss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Assistant Application\n\nThis application is a Streamlit interface for interacting with OpenAI's AI assistants. It allows users to create assistants, upload files to them, send them messages, and view their responses.\n\n## Get Started\n\nFor detailed instructions and a demonstration of AnaLAssist in action, check out my YouTube tutorial:\n\n📺 [Open AI Assistants API Tutorial](https://www.youtube.com/watch?v=ZjpNx8qNnaA)\n\nHere's a high-level overview of what each function does:\n\n- `init()`: Initializes session state variables.\n- `set_apikey()`: Allows the user to input their OpenAI API key.\n- `config(client)`: Fetches a list of assistants and returns the selected assistant's ID.\n- `upload_file(client, assistant_id, uploaded_file)`: Uploads a file to the selected assistant.\n- `assistant_handler(client, assistant_id)`: Handles assistant updates, including name, instructions, model, and file management.\n- `create_assistant(client)`: Creates a new assistant with a given name, instructions, and model.\n- `chat_prompt(client, assistant_option)`: Handles the chat interface, allowing the user to send messages to the assistant and receive responses.\n- `chat_display(client)`: Displays the chat history, including any images returned by the assistant.\n- `main()`: The main function that runs the Streamlit application. It handles API key input, assistant selection, and chat initiation.\n\n## Installation\n\n1. Clone the repository: `git clone https://github.com/calapsss/assistants-api-easy.git`\n2. Navigate to `assistants-api-easy` directory: `cd assistants-api-easy`\n3. You can install the package `poetry install`\n4. Navigate to frontend folder: `cd frontend`\n5. Run with Poetry: `poetry run streamlit run app.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalapsss%2Fassistants-api-easy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalapsss%2Fassistants-api-easy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalapsss%2Fassistants-api-easy/lists"}