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

[cli] config model provider credentials #87

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

tonyz0x0
Copy link
Collaborator

@tonyz0x0 tonyz0x0 commented May 27, 2023

  • setup skyagi config credentials CLI to config multiple models providers credentials(currently only OpenAI)
  • credentials can be set by either environment variables or skyagi config credentials to a config file, if both are set, the ones in config file will have higher priotiy than the ones as environment variables
  • fix the issue of not reading credentials from config file
  • fix the issue of config directory or config file not found
  • put embedding_size as embedding model config parameter

Example of setting credentials using skyagi config credentials:

Screen.Recording.2023-05-27.at.14.12.59.mov

@vercel
Copy link

vercel bot commented May 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
skyagi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2023 10:36pm

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.

feat: Support embedding size in config settings
1 participant