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

ArchFC endpoint integration #94

Merged
merged 14 commits into from
Oct 1, 2024
Merged

ArchFC endpoint integration #94

merged 14 commits into from
Oct 1, 2024

Conversation

cotran2
Copy link
Contributor

@cotran2 cotran2 commented Sep 28, 2024

No description provided.

@cotran2 cotran2 changed the title Cloud instance integration ArchFC endpoint integration Sep 28, 2024
@cotran2 cotran2 self-assigned this Sep 30, 2024
client = OpenAI(
base_url='http://{}:11434/v1/'.format(ollama_endpoint),
if mode == "cloud":
client = OpenAI(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if its cloud ensure that api_key is set

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now api_key is not required

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be per model - like openai_params_arch_guard_1.5b - or sth similar

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the model name is the path file in vm docker instance

Copy link
Contributor

@adilhafeez adilhafeez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls address the comments and then you can merge

@cotran2 cotran2 merged commit 17a643c into main Oct 1, 2024
2 checks passed
@junr03 junr03 deleted the cotran/cloud-integration branch October 8, 2024 17:18
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.

2 participants