You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI has introduced the Assistants API, which allows building AI assistants within applications. This API supports various features like instructions, models, tools, and files to respond to user queries. Specifically, it includes the following tools:
Code Interpreter
File Search
Function Calling
More details can be found in the documentation here.
Proposed Enhancement
Introduce an assistant subcommand to make use of OpenAI's Assistants API features directly from Chat Gipity. This subcommand will enable users to:
Leverage instructions and models for tailored responses.
Utilize the tools provided by the Assistants API.
Subcommand Usage
The assistant subcommand will support various functionalities available in the Assistants API, such as:
Code Interpreter:
cgip assistant code "Explain this Python code: print('Hello, World!')"
File Search:
cgip assistant file-search "Find details in project.txt"
Function Calling:
cgip assistant function"Call the summarization functionon this text"
Features and Benefits
Enhanced Capabilities: Provide users with access to advanced AI-powered functionalities directly from the command line.
Simplified Integration: Allows users to easily incorporate OpenAI Assistant features without needing to build from scratch.
Versatility: Supports various tools and capabilities of the Assistants API, making it a comprehensive addition to the existing Chat Gipity commands.
Implementation Plan
Implement the assistant subcommand:
Add parsing and subcommands for code, file-search, and function integrations using the Assistants API.
Ensure the command follows a consistent structure with existing commands.
Documentation Update:
Update the README file to include usage instructions and examples for the assistant subcommand.
Provide detailed descriptions of capabilities and how users can utilize each tool.
Expected to return an explanation of the provided code.
File Search:
cgip assistant file-search "Search for the term 'API key' in config.txt"
Expected to return relevant details from the specified file.
Function Calling:
cgip assistant function"Call the summarize_text functionon this input 'OpenAI is developing robust AI applications.'"
Expected to return the result from the function call.
Expected Outcome
Seamless integration of OpenAI Assistants API features within Chat Gipity.
Users can leverage advanced tools and functionalities provided by the Assistants API directly from the command line, enhancing productivity and efficiency.
Action Items:
Develop the assistant subcommand.
Implement support for code, file-search, and function subcommands.
Update project documentation to include new features and usage instructions.
The text was updated successfully, but these errors were encountered:
Context and Overview
OpenAI has introduced the Assistants API, which allows building AI assistants within applications. This API supports various features like instructions, models, tools, and files to respond to user queries. Specifically, it includes the following tools:
More details can be found in the documentation here.
Proposed Enhancement
Introduce an
assistant
subcommand to make use of OpenAI's Assistants API features directly fromChat Gipity
. This subcommand will enable users to:Subcommand Usage
The
assistant
subcommand will support various functionalities available in the Assistants API, such as:cgip assistant code "Explain this Python code: print('Hello, World!')"
cgip assistant file-search "Find details in project.txt"
Features and Benefits
Chat Gipity
commands.Implementation Plan
Implement the
assistant
subcommand:code
,file-search
, andfunction
integrations using the Assistants API.Documentation Update:
assistant
subcommand.Example Usage
Code Interpreter:
cgip assistant code "Explain this Rust code: fn main() { println!('Hello, World!'); }"
File Search:
cgip assistant file-search "Search for the term 'API key' in config.txt"
Function Calling:
Expected Outcome
Chat Gipity
.Action Items:
assistant
subcommand.code
,file-search
, andfunction
subcommands.The text was updated successfully, but these errors were encountered: