Step 2 - Setting Up the Repository¶
Follow these instructions to set up the Ingenious package on your local machine:
-
Clone the repository:
-
Navigate to the repository folder:
-
Create a virtual environment:
-
Activate the virtual environment:
-
Install the required dependencies:
Important
Ensure you are using pyautogen==0.2.35, and confirm that autogen-agents is not installed in your environment.
- Local Profile Setup Please set up your OpenAI API by visiting https://oai.azure.com/.
Important
You will need to configure two types of deployments: a language model for completions and an embedding model for the current version.
Once deployed, please put the credentials and configurations to the profile.yml as well as the config.yml:
# Set the project path environment variable
$env:INGENIOUS_PROJECT_PATH = "C:/<your_project_folder>/Insight_Ingenious/conversation_pattern_example/config.yml"
# Disable parallelism for tokenizers to avoid potential issues
$env:TOKENIZERS_PARALLELISM = "false"
# Create or edit profiles.yml using your default code editor
# Please follow template at /conversation_pattern_example/profile.yml
code $home/.ingenious/profiles.yml
# Set the project path environment variable
export INGENIOUS_PROJECT_PATH="/<your_project_folder>/Insight_Ingenious/conversation_pattern_example/config.yml"
# Disable parallelism for tokenizers to avoid potential issues
export TOKENIZERS_PARALLELISM=false
# Set the path for profiles.yml
export INGENIOUS_PROFILE="$HOME/.ingenious/profiles.yml"
# Create or edit profiles.yml using your preferred editor (e.g., nano, vim, or code)
# Please follow template at /conversation_pattern_example/profile.yml
code $INGENIOUS_PROFILE