Skip to content

This is a simple Node.js script that interacts with the Llama2 AI API to generate responses to prompts.

Notifications You must be signed in to change notification settings

khaouitiabdelhakim/Llama-2-Unofficial-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Llama2 AI Chat Assistant

This is a simple Node.js script that interacts with the Llama2 AI API to generate responses to prompts.

Usage

  1. Clone the repository.
  2. Install dependencies with npm install.
  3. Set up your prompt in the prompt variable.
  4. Run the script with node api.js.

Configuration

  • Modify the prompt variable to change the prompt text.
  • Adjust other parameters in the body object as needed.

Dependencies

  • Axios: A promise-based HTTP client for Node.js. (Install with npm install axios)

License

This code is provided for educational purposes under the MIT License.

About

This is a simple Node.js script that interacts with the Llama2 AI API to generate responses to prompts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published