Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create trained AGiXT agent on user registration #1247

Merged
merged 8 commits into from
Sep 11, 2024

Conversation

Josh-XT
Copy link
Owner

@Josh-XT Josh-XT commented Sep 11, 2024

Create trained AGiXT agent on user registration.

  • Added new environment variable CREATE_AGENT_ON_REGISTER - If set to true (default), every time a user registers, a new agent will be created with the settings from default_agent.json
    • If you don't have a default_agent.json defined, it will use your ezlocalai by default if you ran AGiXT with ezlocalai, otherwise, it will default to gpt4free and may or may not work. I unfortunately don't have a reliable free provider yet.
  • Added new environment variable CREATE_AGIXT_AGENT - If set to true (default), every time a user registers, a new agent will be created with the settings from default_agent.json ignoring any training_urls in the json to train the agent named AGiXT on the AGiXT documentation.

Default AGiXT agent training_urls:

training_urls = [
    "https://josh-xt.github.io/AGiXT/",
    "https://josh-xt.github.io/AGiXT/1-Getting%20started/3-Examples.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/0-Core%20Concepts.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/01-Processes%20and%20Frameworks.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/02-Providers.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/03-Agents.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/04-Chat%20Completions.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/05-Extension%20Commands.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/06-Prompts.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/07-Chains.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/07-Conversations.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/09-Agent%20Training.html",
    "https://josh-xt.github.io/AGiXT/2-Concepts/10-Agent%20Interactions.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/0-ezLocalai.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/1-Anthropic%20Claude.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/2-Azure%20OpenAI.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/3-Google.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/4-GPT4Free.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/5-Hugging%20Face.html",
    "https://josh-xt.github.io/AGiXT/3-Providers/6-OpenAI.html",
    "https://josh-xt.github.io/AGiXT/4-Authentication/microsoft.html",
    "https://josh-xt.github.io/AGiXT/4-Authentication/google.html",
]

@Josh-XT Josh-XT marked this pull request as ready for review September 11, 2024 15:32
@Josh-XT Josh-XT merged commit c57daa0 into main Sep 11, 2024
7 checks passed
@Josh-XT Josh-XT deleted the Create-trained-AGiXT-agent-on-user-registration branch September 11, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant