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

Littles improvements to the code #6

Open
N0N3C0D3 opened this issue Mar 11, 2024 · 1 comment
Open

Littles improvements to the code #6

N0N3C0D3 opened this issue Mar 11, 2024 · 1 comment

Comments

@N0N3C0D3
Copy link

N0N3C0D3 commented Mar 11, 2024

hey bro I made some improvements and changes to the code, I don't know if you want to add it, the changes I made are the following:
compatibility with the pawanosman api (it is an api that is based on the openai api but has free ai models of up to 32k context)
chat-type context (I realized that I did not have the context implemented in the chat, although it is a little strange how I implemented it, it works and I put a list where the messages are put and added, so only the list with the messages is sent to the api and The AI ​​understands it as a chat and that's how it is like a chat)
Also change the "Question" to ">"
By the way, in the code I think you understand how the context works, ask me anything and I'll tell you how it works.
And I think that's all I did. Well, in addition to the Pawanosman API, you can choose at the beginning between Openai's or Pawanosman's. Hopefully it will help you in a little while. I'll add that it's also compatible with Openai's. I'll give it to you in a file. text why doesn't it leave me in .py

@N0N3C0D3
Copy link
Author

ready, I have already done the implementation of selecting the api you want, I am going to work a little more so that the api key is saved in a file, this is the code with the implementation of selecting:
insomniagpt2v.txt

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

No branches or pull requests

1 participant